Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix URI handling on windows #2

Merged
merged 2 commits into from
Mar 11, 2020
Merged

Conversation

fgma
Copy link
Contributor

@fgma fgma commented Mar 11, 2020

URI handling of filenames on windows is broken so the tool is unusable on windows. This bugfix closes #1

This fix is probably not formally correct for all corner cases in windows file handling but should work for all standard cases.

Copy link
Owner

@neilpa neilpa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @fgma! One suggestion since this is a partial fix but a nice improvement over not working at all.

main.go Show resolved Hide resolved
@neilpa
Copy link
Owner

neilpa commented Mar 11, 2020

Apparently I can commit directly to the PR. I added the comment since I may follow up at sometime to implement full support (or more likely find a small lib that does the right thing here).

Thanks again! Hopefully this is more useful for you on Windows now.

@neilpa neilpa merged commit 86914bc into neilpa:master Mar 11, 2020
@neilpa
Copy link
Owner

neilpa commented Mar 11, 2020

I cut a v1.2.0 release with this fix.

@neilpa neilpa mentioned this pull request Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not working on windows with latest release
2 participants